package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_WARNING_LOG")
@ApiModel(value = "告警日志表")
public class WarningLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "接口地址")
    @TableField(value = "REQ_PATH")
    @JsonProperty(value = "reqPath")
    private String reqPath;

    @ApiModelProperty(value = "操作类型:0.超高频次操作（如1分钟内超过50次查询请求）；" +
            "1.单次下载数据量超过预设阈值（如单文件超过1GB）；2.导出数据超过10000条")
    @TableField(value = "OPERATE_TYPE")
    @JsonProperty(value = "operateType")
    private String operateType;

    @ApiModelProperty(value = "操作人工号")
    @TableField(value = "OPERATOR_CODE")
    @JsonProperty(value = "operatorCode")
    private String operatorCode;


}
